﻿using MediatR;
using RBAC.ErrorCode;

namespace SmartHealthcare.Write.Api.Application.Command.Department
{
    public class CreateDepartmentCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 科室编码
        /// </summary>
        public string DepartmentCode { get; set; } = string.Empty;
        /// <summary>
        /// 科室名称
        /// </summary>
        public string DepartmentName { get; set; } = string.Empty;
        /// <summary>
        /// 科室地址
        /// </summary>
        public string Address { get; set; } = string.Empty;
        /// <summary>
        /// 挂号费
        /// </summary>
        public decimal RegistrationMoney { get; set; }
        /// <summary>
        /// 是否急诊 1 是 0 否
        /// </summary>
        public int IsEmergency { get; set; } = 1;
    }
}
